package com.endava.graduates.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.endava.graduates.dao.UserDao;
import com.endava.graduates.dao.UserDaoImpl;
import com.endava.graduates.service.UserService;
import com.endava.graduates.service.UserServiceImpl;

@Configuration
public class UserConfig {
	
	@Bean
	public UserService userService(){
		
		return new UserServiceImpl();
		
	}
	
	@Bean
	public UserDao userDao(){
		
		return new UserDaoImpl();
		
	}

}
